package com.siki.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Author Siki
 * @Date 2020/4/23
 */
@ApiModel("条件查询DTO")
@Getter
@Setter
@NoArgsConstructor
public class PageQueryUserDTO {
    @ApiModelProperty("当前页")
    Integer pageNum;

    @ApiModelProperty("每页的数量")
    Integer pageSize;

    @ApiModelProperty("第一志愿组名")
    String selectedGroup;

    @ApiModelProperty("只看通过")
    @NotNull(message = "是否只看通过不能为空")
    Boolean onlyPass;
}
